package com.cc8w.entity;

import lombok.Data;

import java.io.Serializable;


@Data
public class ModelsEntity   implements Serializable {
    private static final long serialVersionUID = 1L;
    private int id;
    private String modelName;
    private int enable;
    private int attrGroup;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getModelName() {
        return modelName!=null ? modelName:"";
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public int getEnable() {
        return enable;
    }

    public void setEnable(int enable) {
        this.enable = enable;
    }

    public int getAttrGroup() {
        return attrGroup;
    }

    public void setAttrGroup(int attrGroup) {
        this.attrGroup = attrGroup;
    }

    @Override
    public String toString() {
        return "ModelsEntity{" +
                "id=" + id +
                ", modelName='" + modelName + '\'' +
                ", enable=" + enable +
                ", attrGroup=" + attrGroup +
                '}';
    }
}
